package com.softeem.xyblogmaster.util;

import cn.hutool.crypto.digest.DigestAlgorithm;
import cn.hutool.crypto.digest.Digester;

public class Md5Util {


    public static String  md5(String password,String salt){
        Digester md5 = new Digester(DigestAlgorithm.MD5);
        Digester sha = new Digester(DigestAlgorithm.SHA256);
        return  md5.digestHex(sha.digestHex(password)+salt);
    }
}
